<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
test(()=> assert_selection(
  '<div contenteditable><img>|</div>',
  'insertOrderedList',
  [
  "<div contenteditable>",
    "<ol>",
      "<li>|<img></li>",
    "</ol>",
  "</div>"]),
  'This insertOrderedList on an image in an editable region without selection change.');
</script>

